package com.pan.download5.parse.entity.auto.impl;

import com.pan.download5.parse.entity.auto.ClearAutoBase;

public class AutoPage extends ClearAutoBase {

    protected AutoNext next;

    public AutoPage() {
    }



    public AutoPage(String xpath, String clearRegex, AutoNext next) {
        super.xpath = xpath;
        super.clearRegex = clearRegex;
        this.next = next;
    }

    public AutoNext getNext() {
        return next;
    }

    public void setNext(AutoNext next) {
        this.next = next;
    }

    @Override
    public String toString() {
        return "AutoPage{" +
                "next=" + next +
                ", clearRegex='" + clearRegex + '\'' +
                ", xpath='" + xpath + '\'' +
                '}';
    }
}
